package cn.yunhe.service;


import cn.yunhe.bean.Adminuser;
import cn.yunhe.bean.User;

import java.util.List;

public interface UserService {
	 User loginFindByUnameAndPwd(String username, String password)throws Exception;
	
	 User loginFindByid(String username);
	
	 User findByCode(String code);
	
	 void activeUser(User activeUser);

	void saveUser(User user);

	Adminuser adminUser_login(String username, String password);

	List<User> admin_findAll();

	boolean login(String username, String password);
    
}
